<template>
  <div>
    navbar
    <button @click="handleClick">navbar-click</button>
  </div>
</template>

<script>

export default {
  setup (props, { emit }) {
    console.log(props, emit)
    const handleClick = () => {
      emit('parentevent')
    }

    return {
      handleClick
    }
  }
}
</script>
